package com.ruoyi.project.cms.mm.move.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.web.domain.BaseEntity;
import com.ruoyi.project.cms.mm.task.domain.TaskInfo;
import com.ruoyi.project.system.user.domain.User;
import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author Administrator
 * @create 2020-05-19 9:20
 * @desc 任务移交实体类
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Getter
@Setter
public class Move extends BaseEntity implements Serializable {
    private Integer mid;
    private String alogname;
    private Integer tid;
    private Integer opinion;
    private String reason;
    private String ologname;
    private String nextauditor;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date adate;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date cdate;

    private String opiniondesc;

    private User aUser;

    private User oUser;

    private User nextUser;

    private Integer status;

    private TaskInfo info;
}
